package com.qfedu.common;

/**
 * @Author 刘浩
 * @Date 2020/8/20 9:53
 */
public class JsonResult {
    private int code; //1代表正常 0 异常
    private Object info; //返回给前端的东西

    public JsonResult(int code, Object info) {
        this.code = code;
        this.info = info;
    }

    public JsonResult() {
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getInfo() {
        return info;
    }

    public void setInfo(Object info) {
        this.info = info;
    }
}
